import request from '@/utils/http'

const apiList = {
    uploadFile: 'file/uploadFile', 
    uploadImage: 'upload/image'   
}

export default {
    uploadImage: (url, data) => {
        return request.post(url, data)
    },
    uploadFile: data => {
        return request.post(apiList.uploadFile, data)
    },
}